package com.design.cjm.behavioral.memento.example1;

/**
 * 负责存储Originator 对象的内部状态，
 * 并可防止Originator 以外的其他对象
 * 访问备忘录Memento
 *
 * @Author: Jie Ming Chen
 * @Date: 2018/9/24
 * @Version 1.0
 */
public class Memento {

    public String state;

    public Memento(String state) {
        this.state = state;
    }
}
